Sharpen and simplify the Section 8 all-deficit partition function - #49
Draft
SamPetkov wants to merge 16 commits into
Draft
Conversation
This was referenced Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This stacked mathematics-and-exposition PR sits above #48. It isolates the finite product interface needed after the attained-demand support/deficit reindexing and rewrites the all-deficit part of Section VIII around one cellwise partition function.
It makes two independent improvements:
2h<m.The old generic cardinality endpoint gave
Geometric summation alone gives
The three-quarter budget improves the direct one-line estimate further to
An optional first-term/tail decomposition gives
but the proposed manuscript insert retains the shorter one-line geometric proof.
Finite Lean interfaces
Cellwise partition function
625/formalization/Erdos625/Section8SharpDeficitProduct.leanproves:The strongest form retains a separate local bound
sigma_cin every selected cell:provided the complete positive-deficit fibre in cell
cis at mostsigma_c.Thus the sixteen endpoint-type charges need not be replaced by one maximum until the final optional uniformization. The module also proves that the local charge
2*rhois no worse than the earlierU*rhocardinality charge forU >= 2.Three-quarter exponent budget
625/formalization/Erdos625/Section8ThreeQuarterDeficitArithmetic.leanproveswhenever
2h<m. The coefficient differs from the optimal integer coefficientfloor(3m/4)by at most one and has the same phase asymptotics. It improves the common local base fromto
Mathematical application
For endpoint sizes
m,m+dand deficith, the exact aggregate local ratio isThe high condition and the new arithmetic theorem give
When
rho(m) <= 1/2, the whole positive-deficit fibre satisfiesTherefore, for fixed support
P,At the four-size phase,
so the direct all-deficit exponent is
Together with endpoint transportation,
For the optional head--tail refinement,
which yields total all-deficit exponent
O((log n)^4)over at mostO(n/log n)selected cells.Readability rewrite
The PR adds:
The proof is organized into four auditable steps:
The note includes a two-cell example showing why there is one global
(n)_Jnormalization and no extra ordering factor.The TeX fragment is deliberately not included by
main.tex. It has an explicit audit boundary and may be integrated only after the reindexing and pointwise aggregate-weight identities are green.Exact Python checks
The optimized standard-library script
checks under ordinary and optimized Python:
2*rhobound;2*rhoversusU*rhocomparison;n/(log n)^4.These checks are finite arithmetic and diagnostics, not a replacement for the remaining Lean reindexing or phase asymptotics.
Files
625/formalization/Erdos625/Section8SharpDeficitProduct.lean625/formalization/Erdos625/Section8ThreeQuarterDeficitArithmetic.lean625/proofs/SECTION8_SHARP_DEFICIT_PRODUCT_AND_REWRITE.md625/arxiv/SECTION8_SHARP_DEFICIT_INSERT_V2.tex625/experiments/section8_sharp_deficit_product.py.github/workflows/erdos625-sharp-deficit-product.ymlValidation
On head
8f3f5028111d6a68f3373344cb0bf3dae77fbafc, the dedicated workflow passed all focused gates:python -O;The repository-wide Lean workflow is separate and was still running when this status was recorded.
Scope boundary
This PR does not yet prove:
profileHighSkeletonWeightand the aggregate partial-cell weight;Erdos625Statement.It sharpens and simplifies the exact product interface that will be used once those finite identifications are connected. Keep the PR draft until the stacked reindexing and weight-identification seams are closed.